package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;

/**
 * The persistent class for the mdl_course database table.
 * 
 */
@Entity
@Table(name="mdl_course")
public class MdlCourse implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger category;

	private boolean completionnotify;

	private boolean completionstartonenrol;

	private BigInteger defaultgroupingid;

	private boolean enablecompletion;

	private String format;

	private String fullname;

	private int groupmode;

	private int groupmodeforce;

	private boolean hiddensections;

	private String idnumber;

	private String lang;

	private int legacyfiles;

	private BigInteger marker;

	private BigInteger maxbytes;

    @Lob()
	private String modinfo;

	private int newsitems;

	private int numsections;

	private boolean requested;

	private boolean restrictmodules;

	private String shortname;

	private boolean showgrades;

	private int showreports;

	private BigInteger sortorder;

	private BigInteger startdate;

    @Lob()
	private String summary;

	private boolean summaryformat;

	private String theme;

	private BigInteger timecreated;

	private BigInteger timemodified;

	private boolean visible;

	private boolean visibleold;

    public MdlCourse() { }
    
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getCategory() {
		return this.category;
	}

	public void setCategory(BigInteger category) {
		this.category = category;
	}

	public boolean getCompletionnotify() {
		return this.completionnotify;
	}

	public void setCompletionnotify(boolean completionnotify) {
		this.completionnotify = completionnotify;
	}

	public boolean getCompletionstartonenrol() {
		return this.completionstartonenrol;
	}

	public void setCompletionstartonenrol(boolean completionstartonenrol) {
		this.completionstartonenrol = completionstartonenrol;
	}

	public BigInteger getDefaultgroupingid() {
		return this.defaultgroupingid;
	}

	public void setDefaultgroupingid(BigInteger defaultgroupingid) {
		this.defaultgroupingid = defaultgroupingid;
	}

	public boolean getEnablecompletion() {
		return this.enablecompletion;
	}

	public void setEnablecompletion(boolean enablecompletion) {
		this.enablecompletion = enablecompletion;
	}

	public String getFormat() {
		return this.format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getFullname() {
		return this.fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public int getGroupmode() {
		return this.groupmode;
	}

	public void setGroupmode(int groupmode) {
		this.groupmode = groupmode;
	}

	public int getGroupmodeforce() {
		return this.groupmodeforce;
	}

	public void setGroupmodeforce(int groupmodeforce) {
		this.groupmodeforce = groupmodeforce;
	}

	public boolean getHiddensections() {
		return this.hiddensections;
	}

	public void setHiddensections(boolean hiddensections) {
		this.hiddensections = hiddensections;
	}

	public String getIdnumber() {
		return this.idnumber;
	}

	public void setIdnumber(String idnumber) {
		this.idnumber = idnumber;
	}

	public String getLang() {
		return this.lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public int getLegacyfiles() {
		return this.legacyfiles;
	}

	public void setLegacyfiles(int legacyfiles) {
		this.legacyfiles = legacyfiles;
	}

	public BigInteger getMarker() {
		return this.marker;
	}

	public void setMarker(BigInteger marker) {
		this.marker = marker;
	}

	public BigInteger getMaxbytes() {
		return this.maxbytes;
	}

	public void setMaxbytes(BigInteger maxbytes) {
		this.maxbytes = maxbytes;
	}

	public String getModinfo() {
		return this.modinfo;
	}

	public void setModinfo(String modinfo) {
		this.modinfo = modinfo;
	}

	public int getNewsitems() {
		return this.newsitems;
	}

	public void setNewsitems(int newsitems) {
		this.newsitems = newsitems;
	}

	public int getNumsections() {
		return this.numsections;
	}

	public void setNumsections(int numsections) {
		this.numsections = numsections;
	}

	public boolean getRequested() {
		return this.requested;
	}

	public void setRequested(boolean requested) {
		this.requested = requested;
	}

	public boolean getRestrictmodules() {
		return this.restrictmodules;
	}

	public void setRestrictmodules(boolean restrictmodules) {
		this.restrictmodules = restrictmodules;
	}

	public String getShortname() {
		return this.shortname;
	}

	public void setShortname(String shortname) {
		this.shortname = shortname;
	}

	public boolean getShowgrades() {
		return this.showgrades;
	}

	public void setShowgrades(boolean showgrades) {
		this.showgrades = showgrades;
	}

	public int getShowreports() {
		return this.showreports;
	}

	public void setShowreports(int showreports) {
		this.showreports = showreports;
	}

	public BigInteger getSortorder() {
		return this.sortorder;
	}

	public void setSortorder(BigInteger sortorder) {
		this.sortorder = sortorder;
	}

	public BigInteger getStartdate() {
		return this.startdate;
	}

	public void setStartdate(BigInteger startdate) {
		this.startdate = startdate;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public boolean getSummaryformat() {
		return this.summaryformat;
	}

	public void setSummaryformat(boolean summaryformat) {
		this.summaryformat = summaryformat;
	}

	public String getTheme() {
		return this.theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public BigInteger getTimecreated() {
		return this.timecreated;
	}

	public void setTimecreated(BigInteger timecreated) {
		this.timecreated = timecreated;
	}

	public BigInteger getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(BigInteger timemodified) {
		this.timemodified = timemodified;
	}

	public boolean getVisible() {
		return this.visible;
	}

	public void setVisible(boolean visible) {
		this.visible = visible;
	}

	public boolean getVisibleold() {
		return this.visibleold;
	}

	public void setVisibleold(boolean visibleold) {
		this.visibleold = visibleold;
	}

	public String toString() {
		return "{id: " + this.id + "; fullname: " + this.fullname + "; shortname: " + this.shortname + "}"; 
	}
}